//
//  UILabel+util.m
//  View_1
//
//  Created by 愤怒的振振 on 15-4-15.
//  Copyright (c) 2015年 LiuWeiZhen. All rights reserved.
//

#import "UILabel+util.h"

@implementation UILabel (util)

+ (UILabel *)labelWithFrame:(CGRect)frame text:(NSString *)text bgColor:(UIColor *)bgColor {
    UILabel *label = [[UILabel alloc] initWithFrame:frame];
    label.backgroundColor = bgColor;
    label.text = text;
    return [label autorelease];
}

@end

